/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package man;

/**
 *
 * @author 彭文联
 */
public class Man {

    private String eyescolor;

    public String getEyescolor() {
        return eyescolor;
    }

    public void setEyescolor(String eyescolor) {
        this.eyescolor = eyescolor;
    }
}

class AsiaMan extends Man {

    public static void main(String[] args) {
        AsiaMan euro = new AsiaMan();
        euro.setEyescolor("黑色的");
        System.out.println("亚洲人的眼睛是" + euro.getEyescolor());

    }
}

class EuroMan extends Man {

    public static void main(String[] args) {
        EuroMan euro = new EuroMan();
        euro.setEyescolor("蓝色的");
        System.out.println("欧洲人的眼睛是" + euro.getEyescolor());

    }
}